Skip to content

update db#336

Merged
c121914yu merged 1 commit intolabring:mainfrom
c121914yu:test
Jan 6, 2026
Merged

update db#336
c121914yu merged 1 commit intolabring:mainfrom
c121914yu:test

Conversation

@c121914yu
Copy link
Contributor

No description provided.

Copilot AI review requested due to automatic review settings January 6, 2026 06:48
@c121914yu c121914yu merged commit 8c95241 into labring:main Jan 6, 2026
6 checks passed
@github-actions
Copy link

github-actions bot commented Jan 6, 2026

Build Successful - Preview Images for this PR:

registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin-pr:a30e9f94b1ea05010d864f3b541251169ad043c6

Changed packages:
dbops

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds the isWorkerRun: false configuration to all five database operation tools in the dbops package. This change ensures that database operations (MySQL, PostgreSQL, Oracle, SQL Server, and ClickHouse) execute in the main thread rather than in a worker thread. This is a common pattern in the codebase for tools that perform I/O operations with external services, as seen in other tools like webhooks, search tools, and external API integrations.

Key Changes

  • All five database operation tools now explicitly set isWorkerRun: false
  • This aligns the dbops tools with other similar I/O-bound tools in the codebase

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.

Show a summary per file
File Description
modules/tool/packages/dbops/children/sqlserver/config.ts Added isWorkerRun: false to SQL Server tool configuration
modules/tool/packages/dbops/children/postgresql/config.ts Added isWorkerRun: false to PostgreSQL tool configuration
modules/tool/packages/dbops/children/oracle/config.ts Added isWorkerRun: false to Oracle tool configuration
modules/tool/packages/dbops/children/mysql/config.ts Added isWorkerRun: false to MySQL tool configuration
modules/tool/packages/dbops/children/clickhouse/config.ts Added isWorkerRun: false to ClickHouse tool configuration

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant